/*
 * Copyright (c) 2013 WDCY Information Technology Co. Ltd
 * www.wdcy.cc
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * WDCY Information Technology Co. Ltd ("Confidential Information").
 * You shall not disclose such Confidential Information and shall use
 * it only in accordance with the terms of the license agreement you
 * entered into with WDCY Information Technology Co. Ltd.
 */
package com.andaily.zhishifenzi.domain.log;


import com.andaily.zhishifenzi.domain.shared.Repository;

import java.util.List;
import java.util.Map;


/**
 * @author Shengzhao Li
 */

public interface LogRepository extends Repository {

    Log findByGuid(String guid);

    void saveLog(Log log);

    void updateLog(Log log);

    List<Log> findSystemLogs(Map<String, Object> map);

    int totalSystemLogs(Map<String, Object> map);

}